import {
	request
} from "./request.js"
// 登录
export function login(phone, password) {
	return request({
		url: `/login/cellphone?phone=${phone}&password=${password}`,
		method: 'POST'
	})
}

// 用户数据获取
export function getUser(uid) {
	return request({
		url: `/user/detail?uid=${uid}`,
		method: 'get'
	})
}
//获取用户歌单
export function UserPlaylist(uid) {
	return request({
		url: `/user/playlist?uid=${uid}&limit=60`,
		method: 'get'
	})
}

export function UserLike(){
	return request({
		url:`/likelist?uid=32953014`,
		method:'get'
	})
}
